package com.ken.autocode.tools.generator.config;

import java.util.Map;

/**
 * @author swc
 * @date 2020/5/18 0018 下午 17:28
 */
public class MyConfig {
    //库名+连接密码
    private String DB_URL;
    private String DB_USERL;
    private String DB_PWD;
    //项目名
    private String PRO_NAME;
    //版本
    private String VERSION;
    //头部内容
    private String TITLE = "";
    //作者
    private String AUTHOR = "";

    //项目位置（自己存放代码的位置，注意指定到项目代码的根目录）
    private String PRO_SITE = "";

    // 顶层包名
    private String TOP_LEVEL = "";
    // 模块名(多层级直接加上.[子模块名称]例如：zhuzj.zzj)
    private String MODULE_NAME = "";

    /**无需配置-------start**/
    private String Entity_FOLEDR = "entity";
    private String DAO_FOLEDR = "mapper";
    private String DAO_IMPL_FOLEDR = "mapper\\sqlmap";
    private String SIMPL_FOLDER = "service\\impl";
    private String SINFE_FOLEDR = "service";
    private String CONTROLLER_FOLEDR = "controller";
    /**无需配置-------end**/

    private   String VIEW_SUFFIX;

    /**模板文件信息**/
    public static Map<String,String[]> templatefileMap;

    //java 文件的根目录
    public   String JAVAFODER;

    //视图页面 文件的根目录
    public   String VIEWFOLDER;

    public String getDB_URL() {
        return DB_URL;
    }

    public void setDB_URL(String DB_URL) {
        this.DB_URL = DB_URL;
    }

    public String getDB_USERL() {
        return DB_USERL;
    }

    public void setDB_USERL(String DB_USERL) {
        this.DB_USERL = DB_USERL;
    }

    public String getDB_PWD() {
        return DB_PWD;
    }

    public void setDB_PWD(String DB_PWD) {
        this.DB_PWD = DB_PWD;
    }

    public String getPRO_NAME() {
        return PRO_NAME;
    }

    public void setPRO_NAME(String PRO_NAME) {
        this.PRO_NAME = PRO_NAME;
    }

    public String getVERSION() {
        return VERSION;
    }

    public void setVERSION(String VERSION) {
        this.VERSION = VERSION;
    }

    public String getTITLE() {
        return TITLE;
    }

    public void setTITLE(String TITLE) {
        this.TITLE = TITLE;
    }

    public String getAUTHOR() {
        return AUTHOR;
    }

    public void setAUTHOR(String AUTHOR) {
        this.AUTHOR = AUTHOR;
    }

    public String getPRO_SITE() {
        return PRO_SITE;
    }

    public void setPRO_SITE(String PRO_SITE) {
        this.PRO_SITE = PRO_SITE;
    }

    public String getTOP_LEVEL() {
        return TOP_LEVEL;
    }

    public void setTOP_LEVEL(String TOP_LEVEL) {
        this.TOP_LEVEL = TOP_LEVEL;
    }

    public String getMODULE_NAME() {
        return MODULE_NAME;
    }

    public void setMODULE_NAME(String MODULE_NAME) {
        this.MODULE_NAME = MODULE_NAME;
    }

    public String getEntity_FOLEDR() {
        return Entity_FOLEDR;
    }

    public void setEntity_FOLEDR(String entity_FOLEDR) {
        this.Entity_FOLEDR = entity_FOLEDR;
    }

    public String getSIMPL_FOLDER() {
        return SIMPL_FOLDER;
    }

    public void setSIMPL_FOLDER(String SIMPL_FOLDER) {
        this.SIMPL_FOLDER = SIMPL_FOLDER;
    }

    public String getSINFE_FOLEDR() {
        return SINFE_FOLEDR;
    }

    public void setSINFE_FOLEDR(String SINFE_FOLEDR) {
        this.SINFE_FOLEDR = SINFE_FOLEDR;
    }

    public String getCONTROLLER_FOLEDR() {
        return CONTROLLER_FOLEDR;
    }

    public void setCONTROLLER_FOLEDR(String CONTROLLER_FOLEDR) {
        this.CONTROLLER_FOLEDR = CONTROLLER_FOLEDR;
    }

    public String getDAO_FOLEDR() {
        return DAO_FOLEDR;
    }

    public void setDAO_FOLEDR(String DAO_FOLEDR) {
        this.DAO_FOLEDR = DAO_FOLEDR;
    }

    public String getDAO_IMPL_FOLEDR() {
        return DAO_IMPL_FOLEDR;
    }

    public void setDAO_IMPL_FOLEDR(String DAO_IMPL_FOLEDR) {
        this.DAO_IMPL_FOLEDR = DAO_IMPL_FOLEDR;
    }

    public String getVIEW_SUFFIX() {
        return VIEW_SUFFIX;
    }

    public void setVIEW_SUFFIX(String VIEW_SUFFIX) {
        this.VIEW_SUFFIX = VIEW_SUFFIX;
    }

    public static Map<String, String[]> getTemplatefileMap() {
        return templatefileMap;
    }

    public static void setTemplatefileMap(Map<String, String[]> templatefileMap) {
        MyConfig.templatefileMap = templatefileMap;
    }

    public String getJAVAFODER() {
        return JAVAFODER;
    }

    public void setJAVAFODER(String JAVAFODER) {
        this.JAVAFODER = JAVAFODER;
    }

    public String getVIEWFOLDER() {
        return VIEWFOLDER;
    }

    public void setVIEWFOLDER(String VIEWFOLDER) {
        this.VIEWFOLDER = VIEWFOLDER;
    }
}
